﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using SyncLib;
using System.Configuration;
using SyncLib.Interface;
using SyncLib.Client;

namespace SyncConfig
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            CommonVariable.SqlConnectionString = ConfigurationManager.AppSettings["SqlConnectionString"];
            CommonVariable.SyncConfigSchema = "dbo";
            CommonVariable.AppLocation = (AppLocation)Enum.Parse(typeof(AppLocation), ConfigurationManager.AppSettings["AppLocaltion"]);
            log4net.Config.XmlConfigurator.Configure();
            Application.Run(new FrmMain());
        }
       

    }
}
